

/**
 * @author 帅小伙
 * @date 2022/1/2
 * @description
 */
public class Worker06 {




    public static void main(String[] args) throws Exception {

        Consumer61 c1 = new Consumer61();
        Consumer62 c2 = new Consumer62();


        for (int i = 0; i < 1; i++) {

            new Thread(()->{
                try {
                    c1.consume();
                    c2.consume();
                } catch (Exception e) {
                    e.printStackTrace();
                }
            },"ah"+i).start();
        }
    }
}

